home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / libs / knowhow4 / global.h < prev    next >
C/C++ Source or Header  |  1994-10-10  |  741b  |  26 lines

  1. /*    KNOW-HOW uses some arrays for transferring messages with
  2.           non-standart formate. global[MAX_GLOBAL == 200] - the array
  3.           of char*; global_i[MAX_GLOBAL_I == 24] - array of integers.
  4.           Usually, if we choose n-th item of menu, int global_num
  5.           keeps n, and global[global_num] may keep item string (or not,
  6.           for example for menu with non-text (pictograms) items).
  7.           event e keeps last event obtained.
  8. */
  9.  
  10. #ifndef __GLOBAL_H_
  11. #define __GLOBAL_H_
  12.  
  13. #include "addevent.h"
  14.  
  15. extern int global_num;
  16. extern char* global[];
  17. extern int global_i[];
  18. extern event e;
  19.  
  20. #define MAX_GLOBAL 511
  21. #define MAX_GLOBAL_I 511
  22.  
  23. void global_remove();
  24. void global_init();
  25.  
  26. #endif __GLOBAL_H_